﻿using System.Collections.Generic;
using RestSharp.Deserializers;

namespace Pogo.Data
{
   public class User : PogoObject, IUser
   {
      internal string UserID { get; set; }

      internal string Flags { get; set; }
      internal string Locale { get; set; }
      internal List<NVPair> Options { get; set; }
      internal string Domain { get; set; }
      internal string Purpose { get; set; }

      #region IUser Members

      public string ScreenName { get; set; }

      [JsonName(Name = "Email")]
      public string PrimaryEmail { get; set; }

      public List<Email> Emails { get; set; }

      #endregion
   }
}